html{
    height: 100vh;
    width: 100vw;
    display:-webkit-flex;
    display:-ms-flex;
    display:-moz-flex;
    display:-o-flex;
    display: flex;
    align-items:center;
    justify-content:center;
}

body{
    display:-webkit-flex;
    display:-ms-flex;
    display:-moz-flex;
    display:-o-flex;
    display: flex;
    align-items:center;
    justify-content:center;
    width: 100%; /*百分比基于父类 vh视图高 vw视图宽 */
    height: 100%;
    margin: 0 auto;
	background-color: #E2E2E2;
	color: #595B66;
	font-family: 'Microsoft Yahei', sans-serif;
}

.page-container{
    padding: 20px;
}

.layout-center{
    margin: auto;
    horiz-align: center;
    vertical-align: center;
    text-align: center;
    align-items:center;
    align-content: center;
    justify-content:center;
}

.box-item {
	width: 200px;
	height: 200px;
	line-height: 200px;
	vertical-align: middle;
	margin: 5px;
	background-color: #ffd200;
	font-size: 100px;
	color: white;
	text-align: center;
}



.container_login {
    display: flex;
    height:50%;
    width: 50%;

    flex-direction: column;
    align-items: center;

    background-color: #f8f8f8;
  }

  .header {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .header-img{
    width: 80px;
    height: 80px;
    border: 1px solid gainsboro;
    border-radius: 50%;
  }

  .content {
    width: 80%;
  }

  .content .input {
    width: 100%;
    background-color: #fff;
  }
  .input text{
    font-size: 18px;
  }
  .input input{
      flex: 1;
      margin-left: 10px;
      padding-left: 10px;
      padding-right: 10px;
  }

  .line{
    height: 15px;
    margin: 5px 5px 5px 10px;
    border-left: 1px solid gainsboro;
  }
  .account {
      display: flex;
      padding: 8px;
      line-height: 40px;
      align-items: center;
      /*border-bottom: 1px solid lightgray;取消下面的线*/
  }

  .password {
      padding: 8px;
      line-height: 40px;
      display: flex;
      align-items: center;
  }

  .commit{
      width: 100%;
      display: flex;
      justify-content: center;
      padding: 8px;
  }

  .commit button {
      width: 100%;
      min-height: 50px;
      margin-bottom: 20px;
      background: #5da3ed;
      font-size: 18px;
      color: white;
  }

  .footer {
    width: 80%;
  }

  .userTip {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .userTip  text {
      margin-left: 20px;
      margin-right: 20px;
      margin-bottom: 20px;
      font-size: 13px;
      color: #5da3ed;
  }

  /*对话框背景*/
    .dialog-full-hide{
        position: fixed;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.2);
        display: none;
    }

    .dialog-full-show{
        position: fixed;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    /*弹出的对话框*/
    .login-hint{
        width: 35%;
        height: 35%;
        background:rgba(0,0,0,0.5);
        border: 1px solid #000000;
    }

    .login-hint-text{
        margin: 20%;
        text-align: center;
        color: black;
    }





    /*主页*/
    .home {
        display: flex;
        height:100%;
        width: 100%;

        flex-direction: column;
        align-items: center;

        background-color: #f8f8f8;
    }

    .home-nav{
        display: flex;
        height:20%;
        width: 100%;

        flex-direction: row;
        background-color: red;
    }

    .home-main{
        display: flex;
        height: 80%;
        width: 100%;

        flex-direction: row;
        background-color: blue;
    }


  .hjh-container {
  background-color: #fff;
  border: 4px solid lightgrey;
  border-radius: 10px;
  width: 80%;
  margin: 2% auto;
  position: relative;
}

.hjh-HolyGrail {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.hjh-Header,
.hjh-Footer {
  flex: 1;
  height: 100px;
  background-color: grey;
  color: #fff;
  line-height: 100px;
}

.hjh-HolyGrail-body {
  display: flex;
  flex: 1;
}

.hjh-HolyGrail-content {
  background-color: lightgrey;
  height: 600px;
  line-height: 600px;
  color: #fff;
  flex: 1;
}

.hjh-HolyGrail-nav,
.hjh-HolyGrail-ads {
  background-color: skyblue;
  height: 600px;
  line-height: 600px;
  color: #fff;
  flex: 0 0 12em;
}

.hjh-HolyGrail-nav {
  background-color: orange;
  order: -1;
}

@media (max-width: 768px) {
  .hjh-HolyGrail-body {
    flex-direction: column;
    flex: 1;
  }
  .hjh-HolyGrail-nav,
  .hjh-HolyGrail-ads,
  .hjh-HolyGrail-content {
    flex: auto;
  }
}
